aa38901ea314c50f195a4ce43a9e6db02412ce72,time4j-android/src/main/java/net/time4j/format/expert/Iso8601Format.java,Iso8601Format,ordinalFormat,#boolean#,492

Before Change



        ChronoFormatter.Builder<PlainDate> builder =
            ChronoFormatter
                .setUp(PlainDate.class, Locale.ROOT)
                .addInteger(YEAR, 4, 9, SignPolicy.SHOW_WHEN_BIG_NUMBER);

        if (extended) {
            builder.addLiteral('-');

After Change



        ChronoFormatter.Builder<PlainDate> builder =
            ChronoFormatter
                .setUp(PlainDate.class, Locale.ROOT)
                .startSection(Attributes.ZERO_DIGIT, '0')
                .addInteger(YEAR, 4, 9, SignPolicy.SHOW_WHEN_BIG_NUMBER);

        if (extended) {
            builder.addLiteral('-');
        }

        return builder.addFixedInteger(DAY_OF_YEAR, 3).endSection().build().with(Leniency.STRICT);

    }